﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Runtime.Serialization;

namespace WSIMServices.model
{
    [DataContract]
    public class User
    {

        private long userID;

        [DataMember]
        public long UserID
        {
            get { return userID; }
            set { userID = value; }
        }
        private string nickname;
        [DataMember]
        public string Nickname
        {
            get { return nickname; }
            set { nickname = value; }
        }
        private string group;
        [DataMember]
        public string Group
        {
            get { return group; }
            set { group = value; }
        }
        private int provider;
        [DataMember]
        public int Provider
        {
            get { return provider; }
            set { provider = value; }
        }
        private ProviderSpecificUserData providerData;
        [DataMember]
        public ProviderSpecificUserData ProviderData
        {
            get { return providerData; }
            set { providerData = value; }
        }

        private bool online;
        [DataMember]
        public bool Online
        {
            get { return online; }
            set { online = value; }
        }
    }
}
